<div class="top">
    <div #terminal (contextmenu)='onRightClicked($event)'></div>
    <span *ngIf="showClose" class="close"><i nz-icon nzType="close" nzTheme="outline" (click)="closeClicked()"></i></span>
</div>